<{capture name="header"}>
<{css src="ome.css" app="ome"}>
<{/capture}>

<div class="tableform">
  <div class="division">
    <form method="post" action="index.php?app=ome&ctl=admin_setting&act=addproblem">
      <table width="100%" cellspacing="0" cellpadding="0" border="0" >

        <tbody>
          <tr>
            <th>是否质量问题：</th>
            <td><input name="is_problem" type="radio" value="true" <{if $problem.is_problem=='true'}>checked="checked" <{/if}>/>
              是
              <input type="radio" name="is_problem" value="false" <{if $problem.is_problem=='false'}>checked="checked" <{/if}>/>
              否</td>
          </tr>
          <tr>
            <th>类型：</th>
            <td><input type="radio" name="type" value="problem_type" <{if $problem.type=='problem_type'}>checked="checked" <{/if}>/>
              问题类型
              <input type="radio" name="type" value="problem_belong" <{if $problem.type=='problem_belong'}>checked="checked" <{/if}>/>
              问题归属</td>
          </tr>
          <tr>
            <th>名称：</th>
            <td><input type="text" name="name" value="<{$problem.name}>" vtype="required"/></td>
          </tr>
        </tbody>
      </table>
      <{if $problem.problem_id}>
      <input type="hidden" name="problem_id" value="<{$problem.problem_id}>">
      <{/if}>
      <div class="table-action">
        <{button class="btn-primary" type="submit" name="Submit" label="提交"}>
      </div>
    </form>
  </div>
</div>
